#!/bin/bash

# Author: LeeBin

rate=$( df | grep "sda" | awk '{print $5}'| cut -d "%" -f 1 )

if [ $rate -ge 80 ]
	then
		echo "Warning! /dev/sda1 is full!!"
	else
		echo "/dev/sda1 is not full!!"
fi

